<div id="sidebar" class="edufe_fl">
    <div class="avt">
        <img src="{thumb($info['photo'], 100,100)}" width="100" height="100" />
        <p>{$info['truename']} <a href="/member.php?action=logout">[退出]</a></p>
    </div>
    {if $self}
    <div class="guild">
        <a href="member.php?mid={$info['mid']}">修改资料</a>
    </div>
    {/if}
    <ul class="leftSidebar">
        <li class="icon_01">
            <a href="member.php?action=ly&mid={$info['mid']}">留言板</a>
        </li>
        <li class="icon_02">
            {if $self}
            <a href="member.php?action=message&mid={$info['mid']}">短消息</a>
            {else}
            <a href="member.php?action=add_message&touser={$info['mid']}">给TA发消息</a>
            {/if}
        </li>
        <li class="icon_03">
            <a href="member.php?action=photo&mid={$info['mid']}">校友相册</a>
        </li>
        {if $self}
        <li class="icon_04">
            <a href="member.php?action=classmates">校友信息查询</a>
        </li>
        {/if}
    </ul>
</div>